package com.itheima.shengxiao2;

public class Desk {
    //做的饭的数量
    private int count=10;
    // 饭 的状态
    private boolean fan;
    //锁对象
    private final Object obj= new Object();

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isFan() {
        return fan;
    }

    public void setFan(boolean fan) {
        this.fan = fan;
    }

    public Object getObj() {
        return obj;
    }
}
